Ch.1 Propositions and Truth Tables

Return to TOC

Definitions

Proposition: statement that is always True or False (but not both)

Theorem: a proposition that are always True, but is not direct to check

Connectors

Negation: ¬\neg reverse True/False value
AND: \land
OR: \lor
Conditional statement: \implies
Connecting two propositions gives a new proposition

Truth Table

ppqqp\lor ppqp\land qpqp\implies q¬(pq)\lnot(p\implies q)p¬qp\land\lnot q
TTTTFFTTTTFFFF
TTFFFFFFFFTTTT
FFTTTTFFTTFFFF
FFFFTTFFTTFFFF

Quantifiers

Statement x>3x>3 is not a proposition
Statement For all real numbers x,x+1>x\text{For all real numbers }x, x+1>x is a proposition
Statement There exists a pair of irrational numbers x,y such that xy is rational\text{There exists a pair of irrational numbers }x,y\text{ such that }x^y\text{ is rational} is a proposition
"For all" \forall, "There exists" \exists quantifies domain

EnglishDescMath
For all real numbers xx, x+1>xx+1>xAbove can be represented as P(x)P(x), where PP is the property checked (x+1>xx+1>x) and xx is the dependence.Mathematically, xP(x),\forall xP(x), where xRx\in\mathbb{R}
There exists a pair of irrational numbers x,yx,y s.t. xyx^y is rational.This is P(x,y)P(x,y), where PP is property, xyx^y is rational, and x,yx,y are the dependences.Mathematically, x,yP(x,y)\exists x,yP(x,y), where x,yRQx,y\in\mathbb{R}\setminus\mathbb{Q}

Propositional Functions

not a proposition; depends on variable(s)
As soon as a value is assigned to the variables, the statement becomes a proposition
"x>3x>3" denoted xP(x)xP(x), where P(x)=P(x)="x>3x>3"


Other Propositions

Converse: qpq\implies p
Inverse: ¬p¬q\lnot p\implies \lnot q
Contrapositive: ¬q¬p\lnot q\implies\lnot p

ppqqpqp\implies q¬q¬p\lnot q\implies\lnot p
TTTTTTTT
TTFFFFFF
FFTTTTTT
FFFFTTTT

A proposition is equivalent to its contrapositive; i.e. pqp\implies q can be proven by proving ¬q¬p\lnot q\implies\lnot p\rightarrowProof by Contrapositive (details in Ch.2)

Example 1.1 Propositional Functions

If a natural number xx is greater than one, then xx is even
This is a propositional function
xP(x)xP(x) where xNx\in\mathbb{N} and P(x)=P(x)= "is greater than one"
xQ(x)xQ(x) where xNx\in\mathbb{N} and Q(x)=Q(x)= "is even"
Combine to
x(P(x)Q(x))x(P(x)\implies Q(x)) where xNx\in\mathbb{N}
If x=2x=2, the statement is true.
If x=5x=5, the statement is false.
If x=1x=1, the statement is true due to FFF\implies F.

Note: if this was xN{1}\forall x\in\mathbb{N}\setminus\{1\}xx is even, it would be a false proposition- more specifically, a false quantifier

x(P(x)Q(x))x(P(x)\implies Q(x)) is equivalent to x(P¬Q)x(P\land\lnot Q)
This is equivalent to ¬(P¬Q)=¬PQ\lnot(P\land\lnot Q)=\lnot P\lor Q, or in the case above, x(¬P(x)Q(x))x(\lnot P(x)\lor Q(x))

De Morgan's Laws

Arguments

(pq)(qr)(pr)(p\implies q)\land(q\implies r)\implies(p\implies r)

Premises, pqp\implies q and qrq\implies r, are assumed to be true.

ppqqrrpqp\implies qqrq\implies rprp\implies r
TTTTTTTTTTTT
TTTTFFTTFF
TTFFTTFFTT
TTFFFFFFTT
FFTTTT
FFTTFF
FFFFTT
FFFFFF

Operator Precedence Chart

OperatorPrecedence
¬\lnot1
\land2
\lor3
\implies4
\iff5